using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN SinhVienLopTinChiService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: SinhVienLopTinChiService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class SinhVienLopTinChiService : ISinhVienLopTinChiService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: SinhVienLopTinChi_ID</para>
		/// <para>Output: SinhVienLopTinChiEntity</para>
		///</summary>
		public SinhVienLopTinChiEntity SelectOne(int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.SelectOne(SinhVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienLopTinChiEntity</para>
		///</summary>
		public List<SinhVienLopTinChiEntity> SelectAll(){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienLopTinChiEntity</para>
		///</summary>
		public List<SinhVienLopTinChiEntity> SelectAllFilter(string strFilter){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(SinhVienLopTinChiEntity o){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienLopTinChiEntity</para>
		/// <para>Output: SinhVienLopTinChiEntity</para>
		///</summary>
		public SinhVienLopTinChiEntity SaveRet(SinhVienLopTinChiEntity o){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of SinhVienLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<SinhVienLopTinChiEntity> list){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of SinhVienLopTinChiEntity</para>
		/// <para>Output: List of SinhVienLopTinChiEntity</para>
		///</summary>
		public List<SinhVienLopTinChiEntity> SaveListRet(List<SinhVienLopTinChiEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: SinhVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(SinhVienLopTinChiEntity o){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of SinhVienLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<SinhVienLopTinChiEntity> list){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLopTinChi_ID</para>
		/// <para>Input: NewLopTinChi_ID,SinhVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLopTinChi_ID(int NewLopTinChi_ID,int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.UpdateLopTinChi_ID(NewLopTinChi_ID,SinhVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,SinhVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,SinhVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTrangThai</para>
		/// <para>Input: NewTrangThai,SinhVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTrangThai(Byte NewTrangThai,int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.UpdateTrangThai(NewTrangThai,SinhVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNgayDangKy</para>
		/// <para>Input: NewNgayDangKy,SinhVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNgayDangKy(DateTime NewNgayDangKy,int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.UpdateNgayDangKy(NewNgayDangKy,SinhVienLopTinChi_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: SinhVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(SinhVienLopTinChiEntity o){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: SinhVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int SinhVienLopTinChi_ID){
			SinhVienLopTinChiDAO dao = new SinhVienLopTinChiDAO();
			return dao.DeleteByID(SinhVienLopTinChi_ID);
		}
		#endregion

		#region Select join to LopTinChiSinhVien functions
		#endregion

		#region Select join to LopTinChi functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select,delete by SinhVienLopTinChi_ID functions
		#endregion

		#region Select,delete by LopTinChi_ID functions
		#endregion

		#region Select,delete by SinhVien_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienLopTinChiWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

